import { HeartTwoTone, SmileTwoTone } from '@ant-design/icons';
import { Alert, Card, Typography } from 'antd';
import React from 'react';

export default (): React.ReactNode => (
  <div>
    <Card>
      <Alert
        message="东风车联网管理平台"
        type="success"
        showIcon
        banner
        style={{
          marginLeft: -10,
          marginRight: -10,
          marginTop: -12,
          marginBottom: 48,
        }}
      />
      <Typography.Title level={2} style={{ textAlign: 'center' }}>
        <SmileTwoTone />
        东风车联网管理平台 <HeartTwoTone twoToneColor="#eb2f96" /> You
      </Typography.Title>
    </Card>
  </div>
);
